<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
	<meta charset="utf-8">
	<title th:text="${name}+'线上活动管理平台'">微信投票管理系统</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta http-equiv="Access-Control-Allow-Origin" content="*">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="icon" href="../static/images/favicon.ico"  th:href="@{${logo.getFANCE_IMG()}}"/>
	<link rel="stylesheet" href="../static/plugin/layui/css/layui.css" media="all"  th:href="@{/plugin/layui/css/layui.css}"/>
	<link rel="stylesheet" href="../static/back_css/public.css" media="all"  th:href="@{/back_css/public.css}"/>
    <link rel="stylesheet" href="../static/back_css/index.css" media="all"  th:href="@{/back_css/index.css}"/>
</head>
<body class="main_body">
	<div class="layui-layout layui-layout-admin">
		<!-- 顶部 -->
		<div class="layui-header header">
			<div class="layui-main mag0">
				<a href="#" class="logo">
					<img th:src="${logo.getLOGO_IMG()}" src="/images/page_logo.png" style="width: 241px;height: 40px">

				</a>
				<!--<a href="/downactivity" class="logo" style="    margin-left: 60px;">-->
					<!--<span>转到线下活动</span>-->
				<!--</a>-->

			    <!-- 顶部右侧菜单 -->
			    <ul class="layui-nav top_menu">

					<li class="layui-nav-item" id="userInfo">
						<a href="javascript:;">
							<img src="/images/face.jpg" th:src="${logo.getFACE_IMG()}" class="layui-nav-img userAvatar" width="35" height="35">
							<cite class="adminName">
								<span th:text="${session.ADMIN_ACCOUNT}">

								</span>
							</cite>
						</a>
						<dl class="layui-nav-child">
							<dd><a href="/exit" class="signOut"><i class="seraph icon-tuichu"></i><cite>退出</cite></a></dd>
						</dl>
					</li>
				</ul>
			</div>
		</div>
		<!-- 左侧导航 -->
		<div class="layui-side layui-bg-black">

			<div class="navBar layui-side-scroll" id="navBar">
				<ul class="layui-nav layui-nav-tree">
					<li class="layui-nav-item layui-this">

					</li>
				</ul>
			</div>
		</div>
		<!-- 右侧内容 -->
		<div class="layui-body layui-form">
			<div class="layui-tab mag0" lay-filter="bodyTab" id="top_tabs_box">
				<ul class="layui-tab-title top_tab" id="top_tabs">
					<li class="layui-this" lay-id=""><i class="layui-icon">&#xe68e;</i> <cite>首页</cite></li>
				</ul>
				<ul  class="layui-nav closeBox">
				  <li class="layui-nav-item">
				    <a href="" id="activity_indicator">当前活动：
								<span id="activity_name" style="font-weight:bold" title="请在活动管理查看活动详情" th:text="${activity.ACTIVITY_NAME}">第一节阅读大赛</span>
						        <span id="activity_date" style="margin-left:20px;font-size:12px;" th:text="${activity.STARTTIME}+'-'+${activity.ENDTIME}">2019年7月17日-2019年9月13</span>
								<span id="activity_state" style="margin-left:20px;color:red;font-size:12px;" th:if="${activity.ACTIVITY_STATE}==0">未开始</span>
								<span id="activity_state" style="margin-left:20px;color:green;font-size:12px;" th:if="${activity.ACTIVITY_STATE}==1">进行中</span>
								<span id="activity_state" style="margin-left:20px;color:black;font-size:12px;" th:if="${activity.ACTIVITY_STATE}==2">已结束</span>
					</a>

				  </li>
				</ul>
				<div class="layui-tab-content clildFrame">
					<div class="layui-tab-item layui-show">
						<iframe id="content" src="/getIndexAll"></iframe>
					</div>
				</div>
			</div>
		</div>
	</div>

	<!-- 移动导航 -->
	<div class="site-tree-mobile"><i class="layui-icon">&#xe602;</i></div>
	<div class="site-mobile-shade"></div>
	<input hidden  th:value="${logo.getLOGO_IMG()}" id="logoimg"/>
	<input hidden  th:value="${logo.getWX_IMG()}" id="wximg"/>
	<input hidden  th:value="${logo.getWX_COUNT()}" id="wxcount"/>
	<script type="text/javascript" src="../static/plugin/layui/layui.js"  th:src="@{/plugin/layui/layui.js}"></script>
	<script type="text/javascript" src="../static/back_js/index.js"  th:src="@{/back_js/index.js}"></script>
	<script type="text/javascript" src="../static/back_js/cache.js"  th:src="@{/back_js/cache.js}"></script>
</body>
<script type="text/javascript" src="../static/js/jquery.min.js"  th:src="@{/js/jquery.min.js}"></script>
<script type="text/javascript">
	$(function () {
		var logoimg = $("#logoimg").val();
        var wximg = $("#wximg").val();
        var wxcount = $("#wxcount").val();
		// if(logoimg==null || logoimg=="" || wximg==null || wximg=="" || wxcount==null || wxcount=="" ){
        //     alert("请到系统管理>logo管理中设置LOGO！");
		// }
		if (logoimg == null || logoimg == "") {
			alert("请到系统管理>logo管理中设置LOGO！");
		}
    })
</script>
</html>




























